
IF( CUDA_FOUND )
    CUDA_ADD_EXECUTABLE( ImageFFT main.cpp fftimagesimple.cpp fftcuda.cu)
    CUDA_ADD_CUFFT_TO_TARGET( ImageFFT )
ELSE( CUDA_FOUND )
      ADD_EXECUTABLE( ImageInverter main.cpp invertimagesimple.cpp )
ENDIF( CUDA_FOUND )

TARGET_LINK_LIBRARIES( ImageFFT scigpuhhv ${Boost_LIBRARIES} ${HDF5_LIBRARIES} ${FFTW_LIBRARIES} )

